package com.bank.pojo;

import java.sql.Timestamp;

/**
 * BankNews entity. @author MyEclipse Persistence Tools
 */

public class BankNews implements java.io.Serializable {

	// Fields

	private Integer newsId;
	private BankNewsType bankNewsType;
	private String newsTitle;
	private String newsContent;
	private Timestamp newsDate;

	// Constructors

	/** default constructor */
	public BankNews() {
	}

	/** full constructor */
	public BankNews(BankNewsType bankNewsType, String newsTitle,
			String newsContent, Timestamp newsDate) {
		this.bankNewsType = bankNewsType;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.newsDate = newsDate;
	}

	// Property accessors

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public BankNewsType getBankNewsType() {
		return this.bankNewsType;
	}

	public void setBankNewsType(BankNewsType bankNewsType) {
		this.bankNewsType = bankNewsType;
	}

	public String getNewsTitle() {
		return this.newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewsContent() {
		return this.newsContent;
	}

	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}

	public Timestamp getNewsDate() {
		return this.newsDate;
	}

	public void setNewsDate(Timestamp newsDate) {
		this.newsDate = newsDate;
	}

}